package com.common.www.service.district;

import org.springframework.boot.base.jpa.service.BaseService;
import com.common.www.bean.entity.district.ProvinceCity;
import com.common.www.repository.district.ProvinceCityRepository;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.client.RestTemplate;

/**
 * Created by cwx183898 on 2017/12/14.
 */
@Service
@Transactional
public class ProvinceCityService extends BaseService<ProvinceCity, Long> {

    @Autowired
    ProvinceCityRepository repository;

    @Autowired
    protected RestTemplate restTemplate;


    @Override
    public ProvinceCityRepository getRepository() {
        return repository;
    }


}
